package Assignment.Test1;

public class Test {
    final  double PI = 3.14;
    public static void main(String[] args) {

        //创建圆形的对象
        Round round = new Round(6,3.14);
        System.out.println("圆形的面积："+round.Area());
        System.out.println("圆形的周长："+round.perimeter());

        //创建长方形队形
        Rectangle rectangle = new Rectangle(3,4);
        System.out.println("长方形的面积："+rectangle.Area());
        System.out.println("长方形的周长："+rectangle.perimeter());



    }

}
